Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

EVG-20833 Update modal to latest version #2039

Merged
merged 6 commits into from
Sep 15, 2023

Conversation

khelif96
Copy link
Contributor

EVG-20833

Description

Breaking this out of #2037 since menu appears to be breaking the tests

@khelif96 khelif96 requested a review from a team September 14, 2023 16:21
@cypress
Copy link

cypress bot commented Sep 14, 2023

Passing run #12724 ↗︎

0 577 7 0 Flakiness 0
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.

Details:

Merge branch 'main' into EVG-20833-2
Project: Spruce Commit: fe18c09807
Status: Passed Duration: 17:13 💡
Started: Sep 15, 2023 5:30 PM Ended: Sep 15, 2023 5:47 PM

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

Copy link
Contributor

@minnakt minnakt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great stuff!

package.json Outdated
@@ -78,9 +78,9 @@
"@leafygreen-ui/interaction-ring": "7.0.2",
"@leafygreen-ui/leafygreen-provider": "3.1.0",
"@leafygreen-ui/loading-indicator": "2.0.5",
"@leafygreen-ui/marketing-modal": "^4.0.5",
"@leafygreen-ui/marketing-modal": "^4.1.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good opportunity to pin 👀

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually we do not use this dep I think! delete?

@@ -8,14 +8,16 @@ describe("Name change modal", () => {
cy.contains(originalName);
cy.dataCy("name-change-modal-trigger").click();
const newName = "a different name";
cy.get("textarea").clear().type(newName);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ty for fixing these!

@@ -0,0 +1,16 @@
// https://github.com/focus-trap/tabbable#testing-in-jsdom
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes me so sad 😭 ... btw, do we want to try to consolidate it with the other focus-trap mock so they're in the same file?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good call moved it to the mocks directory so they get picked up by jest

@khelif96 khelif96 enabled auto-merge September 15, 2023 15:11
@khelif96 khelif96 added this pull request to the merge queue Sep 15, 2023
Merged via the queue into evergreen-ci:main with commit c519da0 Sep 15, 2023
2 checks passed
@khelif96 khelif96 deleted the EVG-20833-2 branch September 15, 2023 17:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants